package com.test.pudamoney.util_pudamoney.analytics_pudamoney.bean_pudamoney

import com.test.pudamoney.constant_pudamoney.Constant_pudamoney
import com.test.pudamoney.util_pudamoney.analytics_pudamoney.util_pudamoney.AnalyticsUtil_pudamoney
import com.test.pudamoney.util_pudamoney.helper_pudamoney.UserInfoHelper_pudamoney

open class ParamBase_pudamoney(
    /** token */
    var token: String = "",
    /** userId */
    var userId: String = "",
    /** androidId */
    var androidId: String = "",
    /** advertId */
    var advertId: String = "",
    /** version */
    var version: String = "",
    /** product */
    var product: String = "",
    /** clientType */
    var clientType: String = "",
    /** aduid */
    var aduid: String = "",
    /** aduidPath */
    var aduidPath: String = "",
    /** 是否限制广告id，1是 0否 */
    var isLimitAdTrackingEnabled: String = "",
    /** 接口版本号 */
    var apiVersion: String = "v3"
) {
    init {
        this.token = UserInfoHelper_pudamoney.getInstance().token
        this.userId = UserInfoHelper_pudamoney.getInstance().userId
        this.androidId = AnalyticsUtil_pudamoney.getAndroidId()
        this.advertId = AnalyticsUtil_pudamoney.getAdId()
        this.isLimitAdTrackingEnabled = AnalyticsUtil_pudamoney.getAdEnabled().toString()
        this.aduid = AnalyticsUtil_pudamoney.getAdId()
        this.aduidPath = AnalyticsUtil_pudamoney.getAndroidId()
        this.version = Constant_pudamoney.APP_VERSION
        this.product = Constant_pudamoney.PRODUCT
        this.clientType = "ANDROID"
    }
}